package com.jiyun.common.pojo.home;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 20171
 */
@Data
@ToString
public class User {
    private Integer id;
    private String username;
    private String password;
    private String code;

    private String avatar;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date birthday;
    private String name;
}
